package gate;

import abstemplate.AbstractGate;

/**
 * @Author buyee
 * @Date 2022/7/1 下午5:46
 */
public class SimpleDoor extends AbstractGate {
    @Override
    public void canBeOpened(Key key) {
        System.out.println("打开门...");
    }

    @Override
    public void canBeClosed() {
        System.out.println("关上门...");
    }

}
